#ifndef COMPRESSION_UTILS_H
#define COMPRESSION_UTILS_H

#include <cstdint>
#include <vector>

class CompressionUtils {
public:
    // ZLib解压缩
    static std::vector<uint8_t> zlib_decompress(const std::vector<uint8_t>& data);

    // LZO解压缩
    static std::vector<uint8_t> lzo_decompress(const std::vector<uint8_t>& data, uint32_t decompressed_size);

    // Adler32校验和
    static uint32_t adler32(const std::vector<uint8_t>& data);
};

#endif // COMPRESSION_UTILS_H